﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arith.Property
{
    class Student
    {
        //public int _roll;
        //public string _name;
        private int _roll;
        private string _name;

        public void SetRoll(int roll)
        {
            //validation code goes here
            _roll = roll;
        }
        public int  GetRoll()
        {
            return _roll;
        }
        public void SetName(string name)
        {
            _name = name;
        }
        public string GetName()
        {
            return _name;
        }
    }
}
